package henu.innovation.service;

import henu.innovation.entity.Admin;

import java.util.List;

public interface AdminService {
    List<Admin> findAllAdmins();
    Admin login(String username,String password);
    Admin findAdminById(int id);
    boolean updateAdmin(Admin admin);
    boolean addAdmin(Admin admin);
    boolean deleteAdminById(int id);
    Admin findAdminByName(String username);
}
